. [100%]
=============================== warnings summary ===============================
f.py::test
/tmp/pytest-of-runner/pytest-0/test_warnings2/f.py:3: UserWarning: WARNING!
warnings.warn(UserWarning("WARNING!"))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
1 passed, 1 warning in 0.00s